from likeshop_project.base.mybase import Tools

class shop_detail_model(Tools):
    path = '/api/goods/getGoodsDetail'

    def shop_detail_action(self,id):
        mydata = {
            'id':id
        }
        res = self.huihua.get(url=self.hosturl+self.path,params=mydata)
        return res.json()

# import requests
# s = requests.session()
# re = shop_detail_model(huihua=s)
# m = re.shop_detail_action(id=5)
# print(m)
